//
//  MyTextViewDelegate.h
//  cocoaembed
//
//  Created by Andrew Barry on 10/03/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@interface MyTextViewDelegate : NSObject {
    IBOutlet NSTextView *textview;
	IBOutlet NSScrollView *scrollview;
	NSRulerView *textRuler;
	NSMutableArray *breakpoints;
	int runMarker;
}
-(NSMutableArray *)breakpoints;
-(void) toggleBreakpoint;
-(void) codeLoaded;
-(void) setRunMarker: (int) lineno;
-(int) runMarker;
@end

int lineToPos(NSString *str, int line);
